export const resolveStaticPath = (relativePath: string): string => {
	let path = `/static/${relativePath}`;

	// app真实资源路径
	// #ifdef APP-PLUS
	if (typeof plus !== "undefined") {
		path = plus.io.convertLocalFileSystemURL(`/static/${relativePath}`);
	}
	// #endif

	return path;
};

export default {
	resolveStaticPath,
};
